package com.example.demo.repository;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.example.demo.custom.BaseRepository;
import com.example.demo.entity.AfterSaleTarget;
import com.example.demo.entity.AfterSaleTarget2;
@Repository
public interface AfterSaleTargetRepository2 extends BaseRepository<AfterSaleTarget2, Integer>{
	List<AfterSaleTarget2> findByAftersaletarget(AfterSaleTarget sale1);

	AfterSaleTarget2 findByMonthAndYears(Integer month, Integer years);

	List<AfterSaleTarget2> findByAftersaletargetId(Integer id);

}
